package com.zzgele.qmzb.api.configurer;

import com.cnc.cloudv.live.channelManage.ChannelManage;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

import static com.zzgele.qmzb.api.core.Constants.CLOUD_TV_APPID;
import static com.zzgele.qmzb.api.core.Constants.CLOUD_tv_APPSECRET;

@Configuration
public class CloudTvConfig extends WebMvcConfigurerAdapter {
    
    @Bean
    public ChannelManage channelManage() {
        return new ChannelManage(CLOUD_TV_APPID, CLOUD_tv_APPSECRET);

    }
} 